package ch6oopexerpet;

public class Qie extends Pet{
    public Qie() {
    }

    public Qie(String name, String kind, double weight) {
        super(name, kind, weight);
    }

    public void eat(){
        System.out.println("企鹅吃小鱼");
    }
    public void sleep(){
        System.out.println("企鹅睡觉傻呼呼的");
    }
    public void qieMethod(){
        System.out.println("企鹅会游泳");
    }
    public void show(){
        super.show();
        qieMethod();
    }
}
